const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  headUrl: state => state.user.headUrl,
  username: state => state.user.username,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,

  roles: state => state.user.roles,
  authorities: state => state.user.authorities,
  menus: state => state.menu.menus
}
export default getters
